package com.ybliang.plat.user.model;

import java.io.Serializable;
import java.util.Date;

public class UserModel implements Serializable {

    private static final long serialVersionUID = -8209586180332862706L;

    private Long id;

    /**
     * 用户归属的appId
     **/
    private Integer ownerAppId;

    /**
     * 创建用户的appId
     **/
    private Integer srcAppId;

    /**
     * 用户昵称
     **/
    private String nickName;

    /**
     * 用户密码
     **/
    private String password;

    /**
     * 用户手机
     **/
    private String mobile;

    /**
     * 用户邮箱
     **/
    private String email;

    /**
     * 地址
     **/
    private String address;

    /**
     * 1未激活 2激活 3禁止
     **/
    private Integer accountStatus;

    private Date updateTime;

    /**
     * 注册时间
     **/
    private Date registerTime;

    /**
     * 个性签名
     **/
    private String signature;

    /**
     * 头像地址
     **/
    private String profilePicUrl;

    /**
     * 性别
     **/
    private Integer sex;

    /**
     * 电话
     **/
    private String phone;

    /**
     * 年龄,逐步以dob替代
     **/
    private Integer age;

    /**
     * IAM对接的UID
     **/
    private String uid;

    /**
     * MD5加密密码
     **/
    private String iampwd;

    private Date mdata;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getOwnerAppId() {
        return ownerAppId;
    }

    public void setOwnerAppId(Integer ownerAppId) {
        this.ownerAppId = ownerAppId;
    }

    public Integer getSrcAppId() {
        return srcAppId;
    }

    public void setSrcAppId(Integer srcAppId) {
        this.srcAppId = srcAppId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getAccountStatus() {
        return accountStatus;
    }

    public void setAccountStatus(Integer accountStatus) {
        this.accountStatus = accountStatus;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public String getProfilePicUrl() {
        return profilePicUrl;
    }

    public void setProfilePicUrl(String profilePicUrl) {
        this.profilePicUrl = profilePicUrl;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getIampwd() {
        return iampwd;
    }

    public void setIampwd(String iampwd) {
        this.iampwd = iampwd;
    }

    public Date getMdata() {
        return mdata;
    }

    public void setMdata(Date mdata) {
        this.mdata = mdata;
    }
}
